﻿#ifndef RXMESSAGE_H
#define RXMESSAGE_H

#include "utils/utils.h"
#include "databuffer.h"
#include "protocol/protocol.h"

class RxMessage:public DataBuffer {
public:
    RxMessage();
    RxMessage(u8 *data, int len);
    RxMessage(RxMessage *message);
    int getKey();
    int getType();
private:
    head_t head;
};

#endif // RXMESSAGE_H
